package com.zero.insp.services;

import com.zero.insp.views.User;
import org.springframework.stereotype.Service;

import java.util.HashSet;
import java.util.Set;

@Service
public class RoleService {

    public Set<String> getRolesByUserId(User user){
        Set<String> roles = new HashSet<>();

        roles.add(user.getType());

        return roles;
    }

}
